package com.bt.entity;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "$tableInfo.comment")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)//下划线驼峰命名转化
public class YddUser {

    @ApiModelProperty(value = "用户ID")
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "0是男，1是女")
    private Integer sex;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户头像")
    private String icon;

    @ApiModelProperty(value = "个性描述")
    private String notes;

    @ApiModelProperty(value = "出生年月")
    private String birthday;

    @ApiModelProperty(value = "现居住地址")
    private String address;

    @ApiModelProperty(value = "是否为默认数据，null表示不是，1表示是")
    private String defaultData;

    @ApiModelProperty(value = "设置账号状态，默认为正常状态 1表示正常 0表示锁定")
    private Integer status;
}

